home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / trueSpace 7.6 / tS761B8Std.exe / {app} / Scripts / MaterialEditor / Bricks / Texturing / tex2Dproj2.HLSL.Brick.xml < prev   
Extensible Markup Language  |  2008-06-10  |  846b  |  13 lines

  1. <?xml version="1.0" encoding="utf-8" ?> 
  2. <ME_BRICK GUID="{C0086BAD-667D-42dd-BEC6-AFBC8270B7EE}" Name="RtTex2DProj2" GUIName="Tex2D_Projection2" Description="Sample the 2D texture at given 4D texture coordinates with additional projective divide (in w) [tex2dproj]">
  3.     <ME_BRICK_INPUTPARAM GUID="{FCA1EAFD-08B1-47c0-8EAB-4018A208367E}" Name="Sampler2D" Type="RtSampler2D"/>
  4.     <ME_BRICK_INPUTPARAM GUID="{94E6F464-CB84-45dc-9331-7FF9A7912011}" Name="vTextureCoord" Type="RtFloat4"/>
  5.     <ME_BRICK_OUTPUTPARAM GUID="{FEA329F8-652C-4419-9E69-4B54B33089D3}" Name="Color" Type="RtFloat4"/>
  6.     <ME_BRICK_CODE><![CDATA[
  7.         void RtTex2DProj2(in RtSampler2D Sampler2D, in RtFloat4 vTextureCoord, out RtFloat4 Color)
  8.         {
  9.             Color = rtx_Tex2DProj(Sampler2D, vTextureCoord);
  10.         }
  11.     ]]></ME_BRICK_CODE>
  12. </ME_BRICK>
  13.